package com.googlecode.animator.controller
{
	import com.googlecode.animator.data.cameras.CameraVO;
	
	import org.puremvc.as3.interfaces.INotification;

	public class CameraZoomChangedCommand extends BaseCommand
	{
		override public function execute(notification:INotification):void
		{
			var camera:CameraVO = notification.getBody() as CameraVO;
			
			var modelCamera:CameraVO = settings.getCamera(camera.name);

			modelCamera.zoom = camera.zoom;
		}
		
	}
}